package com.szxy.content;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Auther:zwer
 * @Date:2019/9/9 21:32
 * @Description:com.szxy.content
 * @Version:1.0
 **/
@SpringBootApplication
@EnableDiscoveryClient //既支持 Eureka 服务注册中心，也支持 Zookeeper 作为服务注册中心
@EnableDistributedTransaction  //分布式事务处理
@MapperScan("com.szxy.mapper")
public class CommonContentApplication {
    public static void main(String[] args) {
        SpringApplication.run(CommonContentApplication.class,args);
    }
}

